﻿using Basic.FormRemoteModel;
using SqlSugar;
namespace Basic.FormModel.DB
{
    [SugarTable("PhysicalQueryLayout")]
    public class DBPhysicalQueryLayout
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        public long FormId
        {
            get;
            set;
        }

        public LayoutLocation Location
        {
            get;
            set;
        }
        public string Label
        {
            get;
            set;
        }
        public long ControlId
        {
            get;
            set;
        }
        public string ControlCode
        {
            get;
            set;
        }
        /// <summary>
        /// 控件配置
        /// </summary>
        public string ControlSet { get; set; }

        public int Sort { get; set; }

        [SugarColumn(IsJson = true)]
        public long[] ColumnId { get; set; }

        public string Placeholder { get; set; }

        public QueryFilterMode FilterMode { get; set; }

        public bool IsMultiple { get; set; }

        public bool IsMoreFilter { get; set; }
    }
}
